package org.xmlpull.v1;

import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;

public interface XmlPullParser {
    String[] TYPES = {
            "START_DOCUMENT",
            "END_DOCUMENT",
            "START_TAG",
            "END_TAG",
            "TEXT",
            "CDSECT",
            "ENTITY_REF",
            "IGNORABLE_WHITESPACE",
            "PROCESSING_INSTRUCTION",
            "COMMENT",
            "DOCDECL"};

    void setFeature(String paramString, boolean paramBoolean)
            throws XmlPullParserException;

    boolean getFeature(String paramString);

    void setProperty(String paramString, Object paramObject)
            throws XmlPullParserException;

    Object getProperty(String paramString);

    void setInput(Reader paramReader)
            throws XmlPullParserException;

    void setInput(InputStream paramInputStream, String paramString)
            throws XmlPullParserException;

    String getInputEncoding();

    void defineEntityReplacementText(String paramString1, String paramString2)
            throws XmlPullParserException;

    int getNamespaceCount(int paramInt)
            throws XmlPullParserException;

    String getNamespacePrefix(int paramInt)
            throws XmlPullParserException;

    String getNamespaceUri(int paramInt)
            throws XmlPullParserException;

    String getNamespace(String paramString);

    int getDepth();

    String getPositionDescription();

    int getLineNumber();

    int getColumnNumber();

    boolean isWhitespace()
            throws XmlPullParserException;

    String getText();

    char[] getTextCharacters(int[] paramArrayOfInt);

    String getNamespace();

    String getName();

    String getPrefix();

    boolean isEmptyElementTag()
            throws XmlPullParserException;

    int getAttributeCount();

    String getAttributeNamespace(int paramInt);

    String getAttributeName(int paramInt);

    String getAttributePrefix(int paramInt);

    String getAttributeType(int paramInt);

    boolean isAttributeDefault(int paramInt);

    String getAttributeValue(int paramInt);

    String getAttributeValue(String paramString1, String paramString2);

    int getEventType()
            throws XmlPullParserException;

    int next()
            throws XmlPullParserException, IOException;

    int nextToken()
            throws XmlPullParserException, IOException;

    void require(int paramInt, String paramString1, String paramString2)
            throws XmlPullParserException, IOException;

    String nextText()
            throws XmlPullParserException, IOException;

    int nextTag()
            throws XmlPullParserException, IOException;
}
